package com.ikun.admin.modules.gen.vo;

import com.ikun.common.validate.anno.NotNull;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @ClassName MenuAddOrUpdateVo
 * @Description:
 * @CreateDate: 2024/8/12 23:52
 */
@ApiModel("菜单添加或修改")
@Data
public class MenuAddOrUpdateVo {
    private Long id;

    private Long pid;

    @ApiModelProperty("菜单名称")
    private String title;

    @ApiModelProperty("路由")
    private String router;

    @ApiModelProperty("图标")
    private String icon;

    @ApiModelProperty("菜单名称")
    private String perm;

    @ApiModelProperty("类型")
    @NotNull(message = "请选择类型")
    private Integer type;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("是否为开发菜单")
    @NotNull(message = "请选择是否为开发菜单")
    private Integer ifDev;
}
